import javax.xml.bind.SchemaOutputResolver;

public class exercise {
    public static void main(String[] args) {
        int count = 0;
        for(int i =1;i<=10;i++){
            if(i==5){
                continue;
            }
            for(int j= 1;j<=10;j++){
                if(j==5){
                    break;
                }
                count++;
            }
        }
        System.out.println(count);
    }
}
